import CommonIcon from "@component/common-icon";
import { showTitle } from "@/libs/util";
export default {
    components: {
        CommonIcon
    },
    methods: {
        showTitle(item) {
            return showTitle(item, this);
        },
        showChildren(item) {
            return item.type === "菜单";
        },
        getNameOrHref(item, children0) {
            return item.href ? `isTurnByHref_${item.href}` : item.name;
        }
    }
};